package com.dragon.modules.yuegou.excel.park;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\park\\coupon.xlsx")
public class CouponWorkbook {

	@ExcelSheet
	@JsonProperty("停车券记录表")
	private List<CouponRow> coupon;

	public static class CouponRow {

		@JsonProperty("停车券名称")
		private String couponTemplateName;

		@JsonProperty("车牌号")
		private String plateNumber;

		@JsonProperty("手机号")
		private String memberMobile;
		
		@JsonProperty("领取时间")
		private LocalDateTime getTime;

		@JsonProperty("发券商户")
		private String merchantName;
		
		@JsonProperty("使用时间")
		private LocalDateTime useTime;

		@JsonProperty("券抵扣金额")
		private BigDecimal couponDiscountFee;

		@JsonProperty("状态")
		private String status;

		@JsonProperty("使用停车场")
		private String parkingName;

		public String getPlateNumber() {
			return plateNumber;
		}

		public void setPlateNumber(String plateNumber) {
			this.plateNumber = plateNumber;
		}

		public String getMemberMobile() {
			return memberMobile;
		}

		public void setMemberMobile(String memberMobile) {
			this.memberMobile = memberMobile;
		}

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getParkingName() {
			return parkingName;
		}

		public void setParkingName(String parkingName) {
			this.parkingName = parkingName;
		}

		public String getCouponTemplateName() {
			return couponTemplateName;
		}

		public void setCouponTemplateName(String couponTemplateName) {
			this.couponTemplateName = couponTemplateName;
		}

		public LocalDateTime getGetTime() {
			return getTime;
		}

		public void setGetTime(LocalDateTime getTime) {
			this.getTime = getTime;
		}

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public LocalDateTime getUseTime() {
			return useTime;
		}

		public void setUseTime(LocalDateTime useTime) {
			this.useTime = useTime;
		}

		public BigDecimal getCouponDiscountFee() {
			return couponDiscountFee;
		}

		public void setCouponDiscountFee(BigDecimal couponDiscountFee) {
			this.couponDiscountFee = couponDiscountFee;
		}
	}

	public List<CouponRow> getCoupon() {
		return coupon;
	}

	public void setCoupon(List<CouponRow> coupon) {
		this.coupon = coupon;
	}
}
